package com.bsoft.gol.hcs.specialist.bean.request;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @author tongtp
 * @version v0.1
 * @className StopExecutionList
 * @description 终止随访计划
 * @create 2020-07-23 10:37
 **/
@Getter
@Setter
@NoArgsConstructor
@ToString
public class StopAllExecutionListRequest implements Serializable {

	@NotBlank(message = "机构编码不能为空")
	private String organizationId;

	@NotBlank(message = "患者id不能为空")
	private String patientId;

	/**
	 * 操作医生编号
	 */
	private String docId;


	/**
	 * 取消(终止)类型
	 */
	private Integer cancelType;

	/**
	 * 取消原因
	 */
	@Length(min = 0 , max = 500, message = "输入内容不能超过500字")
	private String cancelReason;

}
